package com.hmsm.sys.bean;

import com.lzyyj.gmis.base.dao.IntegerValuedEnum;

public enum UserTypeEnum implements IntegerValuedEnum {
	GENERAL(0, "普通用户"), ADMIN(2, "系统管理员");
	
	private int id;
	
	private String displayName;
	
	public String getDisplayName() {
		return displayName;
	}

	private UserTypeEnum(int id, String displayName){
		this.id = id;
		this.displayName = displayName;
	}

	@Override
	public int getValue() {
		return id;
	}
}
